//
//  DownloadOperationManager.h
//  06-随机下载图片
//
//  Created by apple on 16/1/8.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "DownloaderOperation.h"

@interface DownloadOperationManager : NSObject

/// 实例化单例
+ (instancetype)sharedManager;
/// 管理下载
- (void)downloadWithURLString:(NSString *)URLString finishedBlock:(void (^)(UIImage *image))finishedBlock;
/// 管理取消
- (void)cancelOperationWithLastURL:(NSString *)lastURL;

@end
